package kduck.example.service;



import com.goldgov.kduck.service.Page;
import kduck.example.entity.ApplicantInfo;
import kduck.example.entity.WorkInfo;

import java.util.List;

public interface WorkService {

    String CODE_APPLICANT = "APPLICANT_INFO";
    String CODE_EDUCATION = "EDUCATION_INFO";
    String CODE_WORK = "WORK_INFO";

    void addApplicant(ApplicantInfo applicantInfo);

    void addWork(Long aId, WorkInfo workInfo);

    void updateWork(WorkInfo workInfo);

    void deleteWork(String[] wId);

    WorkInfo getWork(String wId);

    List<WorkInfo> listWork(String wName, Page page);
}
